import subprocess
import os


def start_service():
    subprocess.Popen("ipy start_srv.py", stdout=subprocess.PIPE)
    return 0


def close_service():
    os.system("taskkill /im ipy.exe /f")
